<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>

<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<!--[if lt IE 9]>
<script type="text/javascript" src="lib/html5.js"></script>
<script type="text/javascript" src="lib/respond.min.js"></script>
<script type="text/javascript" src="lib/PIE_IE678.js"></script>
<![endif]-->
<link href="css/H-ui.min.css" rel="stylesheet" type="text/css" />
<link href="css/H-ui.admin.css" rel="stylesheet" type="text/css" />

<link href="lib/Hui-iconfont/1.0.6/iconfont.css" rel="stylesheet" type="text/css" />
<!--[if IE 6]>
<script type="text/javascript" src="lib/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->
<title>我的桌面</title>

  </head>

  <body>
  <%
String SERVER_NAME = request.getServerName();

String SERVER_SOFTWARE = getServletContext().getServerInfo();

String SERVER_PROTOCOL = request.getProtocol();

Integer SERVER_PORT = request.getServerPort();

String REQUEST_METHOD = request.getMethod();

String PATH_INFO = request.getPathInfo();

String PATH_TRANSLATED = request.getPathTranslated();

String SCRIPT_NAME = request.getServletPath();

String DOCUMENT_ROOT = request.getRealPath("/");

String QUERY_STRING = request.getQueryString();

String REMOTE_HOST = request.getRemoteHost();

String REMOTE_ADDR = request.getRemoteAddr();

String AUTH_TYPE = request.getAuthType();

String REMOTE_USER = request.getRemoteUser();

String CONTENT_TYPE = request.getContentType();

Integer CONTENT_LENGTH = request.getContentLength();

String HTTP_ACCEPT = request.getHeader("Accept");

String HTTP_USER_AGENT = request.getHeader("User-Agent");

String HTTP_REFERER = request.getHeader("Referer");

%>

<div class="pd-20" style="padding-top:20px;">
		
		<table class="table table-border table-bordered table-bg">
			<thead>
				<tr>
					<th colspan="7" scope="col">信息统计</th>
				</tr>
				<tr class="text-c">
					<th>统计</th>
					<th>用户</th>
					<th>商家</th>
					<th>商品</th>
					<th>订单</th>
				</tr>
			</thead>
			<tbody>
				<tr class="text-c">
					<td>总数</td>
					<td><s:property value="#list[0].usercount" /></td>
					<td><%--  <a
						_href="<%=path%>/backstage/brand-list" data-title="品牌列表"
						href="javascript:void(0);">品牌列表</a> --%></td>
					<td></td>
					<td></td>
				</tr>
				<tr class="text-c">
					<td>今日</td>
					<td><%-- <a _href="<%=path%>/backstage/goods-add-pre?isZiYing=1"
									data-title="新增商品" href="javascript:void(0);">新增商品</a><s:property value="#list[1].usercount" /> --%></td>
					<td></td>
					<td></td>
					<td></td>
				</tr>
			</tbody>
		</table>
		<br/><br/>
				
  <p>登录IP：${header["Host"]} </p>
  <!--
  <table class="table table-border table-bordered table-bg">
    <thead>
      <tr class="text-c">
        <th>统计</th>
        <th>项目</th>
        <th>交易订单</th>
        <th>用户</th>
      </tr>
    </thead>
    <tbody>
      <tr class="text-c">
        <td>总数</td>
        <td>92</td>
        <td>8</td>
        <td>20</td>
      </tr>
    </tbody>
  </table>
  -->
  <table class="table table-border table-bordered table-bg mt-20">
    <thead>
      <tr>
        <th colspan="2" scope="col">服务器和客户端信息</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td width="180">用户浏览器的版本</td>
        <td><span id="lbServerName">${header["User-Agent"]}</span></td>
      </tr>
      <tr>
        <td>服务器IP地址</td>
        <td>${header["Host"]}</td>
      </tr>
       <tr>
        <td>取得主机端的服务信息</td>
        <td>${pageContext.servletContext.serverInfo}</td>
      </tr>
      <tr>
        <td>服务器名称</td>
        <td>${pageContext.request.serverName}</td>
      </tr>
      <tr>
        <td>客户机名称</td>
        <td>${pageContext.request.remoteHost}</td>
      </tr>

    </tbody>
  </table>
</div>
<footer class="footer">
  <p>感谢 优觉信息<br>Copyright &copy;2016 Uthink All Rights Reserved.<br>
    本后台系统由 <a href="http://www.j345.net/" target="_blank" title="优觉">Uthink</a> 提供前端技术支持</p>
</footer>

</body>
</html>
